<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        div {
            position: relative;
            width: 1250px;
            margin: auto;
            text-align: center;
        }

        img {
            width: 100%;
            /* display: block; */
        }

        button {

            float: left;
            width: 180px;
            height: 50px;
            background-color: #F5F6CE;
            border-radius: 25px;
            border-color: rgb(48, 54, 67);
            color: black;
            font-size: 24px;
            font-family: "站酷文艺体";
            line-height: 50px;
        }

        label {
            display: block;
            float: left;
            width: 38px;
            height: 38px;
            background-color: rgb(235, 228, 215);
            border-radius: 38px;

            opacity: 0;
            position: absolute;
            right: 31px;
            top: 12px;
        }

        label:hover {
            opacity: 0.2;
        }

        label:active {
            opacity: 0.3;
        }

        .btn1 {
            position: absolute;
            bottom: 50px;
            left: 100px;

        }

        .btn3 {
            position: absolute;
            bottom: 50px;
            right: 100px;
        }

        button:hover {
            background-color: #F3F781;
            box-shadow: inset 0px 0px 2px 2px #F3E2A9;
        }

        button:active {
            bottom: 49.5px;
        }
    </style>
</head>

<body>
    <div>
        <img id="pic">
        <script>
            var num = Math.floor(Math.random() * 4);
            var str = "img/jin" + num + ".png";
            document.getElementById("pic").src = str;
        </script>
        <button class="btn1" id="btn1">
            返&nbsp&nbsp&nbsp&nbsp回
        </button>
        <button class="btn3" id="btn3">
            再 来 一 发
        </button>
        <label for="btn1"></label>
    </div>
    <script>
        var btn1 = document.getElementById('btn1');
        var btn3 = document.getElementById('btn3');
    </script>
    <script src="myjs/fanhui.js"></script>
    <script src="myjs/chouka.js"></script>

</body>

</html>